package cn.sdormitory.school.dao;

import cn.sdormitory.school.entity.SchoolDuty;
import cn.sdormitory.smartclass.entity.ClassDv;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.security.core.parameters.P;

import java.util.List;
import java.util.Map;

@Mapper
public interface SchoolDutyDao extends BaseMapper<SchoolDuty> {

    List<SchoolDuty> exportDutyList(@Param("map")Map<String,Object> map);

    int deleteOtherMonthDuty(@Param("beginDate")String beginDate,
                             @Param("endDate")String end,
                             @Param("dept")String dept);
}
